import React from "react";
import Singer from "../Singer/Singer";
import Gedan from "../Gedan/Gedan";
import { NavLink, Outlet } from "react-router-dom";

export default function YYG() {
  return (
    <>
      <hr />
      <ul className="middle-menu">
        <li><NavLink to="/yyg/gedan">首页</NavLink></li>
        <li><NavLink to="/yyg/singer">歌手</NavLink></li>
      </ul>
      <hr />
      <Outlet />
    </>
  );
}
